package com.yy.web.pm.patrol.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 巡检表
 */
@ApiModel(description = "巡检表")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PeoplePatrol implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 巡检人
     */
    @ApiModelProperty(value = "巡检人")
    private String patrolPeople;

    /**
     * 巡检店名
     */
    @ApiModelProperty(value = "巡检店名")
    private String partrolStore;

    /**
     * 巡检地址
     */
    @ApiModelProperty(value = "巡检地址")
    private String partrolAddress;

    /**
     * 巡检类型 1日常巡检 2:整改巡检 3:拆除巡检
     */
    @ApiModelProperty(value = "巡检类型 1日常巡检 2:整改巡检 3:拆除巡检")
    private String partrolType;

    /**
     * 巡检编号
     */
    @ApiModelProperty(value = "巡检编号")
    private String partrolNumber;

    /**
     * 巡检进度; 0:待处理 1：告警合格 2；拆除合格3:巡检合格 4：不合格 5：已取消
     */
    @ApiModelProperty(value = "巡检进度; 0:待处理 1：告警合格 2；拆除合格3:巡检合格 4：不合格 5：已取消 ")
    private String partrolProgress;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String partrolNotes;

    /**
     * 巡检级别
     */
    @ApiModelProperty(value = "巡检级别")
    private String partrolLevel;

    /**
     * 巡检时间
     */
    @ApiModelProperty(value = "巡检时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date partrolTime;

    /**
     * 巡检图片
     */
    @ApiModelProperty(value = "巡检图片")
    private String partrolImages;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;

    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")

    private Date updatedTime;

    /**
     * 巡检数据
     */
    @ApiModelProperty(value = "巡检数据")
    private String partrolData;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    /**
     * 拆除id
     */
    @ApiModelProperty(value = "拆除id")
    private Integer removeId;

    /**
     * 巡检提交进度 0:已提交 1:待处理 2：审核中 3:已完成 4:不合格
     */
    @ApiModelProperty(value = "巡检提交进度 0:已提交 1:待处理 2：审核中 3:已完成 4:不合格")
    private String partrolExaim;

    private List<String> image;


    public Integer getId() {
        return id;
    }

    public PeoplePatrol setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getPatrolPeople() {
        return patrolPeople;
    }

    public PeoplePatrol setPatrolPeople(String patrolPeople) {
        this.patrolPeople = patrolPeople;
        return this;
    }

    public String getPartrolStore() {
        return partrolStore;
    }

    public PeoplePatrol setPartrolStore(String partrolStore) {
        this.partrolStore = partrolStore;
        return this;
    }

    public String getPartrolAddress() {
        return partrolAddress;
    }

    public PeoplePatrol setPartrolAddress(String partrolAddress) {
        this.partrolAddress = partrolAddress;
        return this;
    }

    public String getPartrolType() {
        return partrolType;
    }

    public PeoplePatrol setPartrolType(String partrolType) {
        this.partrolType = partrolType;
        return this;
    }

    public String getPartrolNumber() {
        return partrolNumber;
    }

    public PeoplePatrol setPartrolNumber(String partrolNumber) {
        this.partrolNumber = partrolNumber;
        return this;
    }

    public String getPartrolProgress() {
        return partrolProgress;
    }

    public PeoplePatrol setPartrolProgress(String partrolProgress) {
        this.partrolProgress = partrolProgress;
        return this;
    }

    public String getPartrolNotes() {
        return partrolNotes;
    }

    public PeoplePatrol setPartrolNotes(String partrolNotes) {
        this.partrolNotes = partrolNotes;
        return this;
    }

    public String getPartrolLevel() {
        return partrolLevel;
    }

    public PeoplePatrol setPartrolLevel(String partrolLevel) {
        this.partrolLevel = partrolLevel;
        return this;
    }

    public Date getPartrolTime() {
        return partrolTime;
    }

    public PeoplePatrol setPartrolTime(Date partrolTime) {
        this.partrolTime = partrolTime;
        return this;
    }

    public String getPartrolImages() {
        return partrolImages;
    }

    public PeoplePatrol setPartrolImages(String partrolImages) {
        this.partrolImages = partrolImages;
        return this;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public PeoplePatrol setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
        return this;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public PeoplePatrol setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
        return this;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public PeoplePatrol setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
        return this;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public PeoplePatrol setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
        return this;
    }

    public String getPartrolData() {
        return partrolData;
    }

    public PeoplePatrol setPartrolData(String partrolData) {
        this.partrolData = partrolData;
        return this;
    }

    public Integer getUserId() {
        return userId;
    }

    public PeoplePatrol setUserId(Integer userId) {
        this.userId = userId;
        return this;
    }

    public Integer getRemoveId() {
        return removeId;
    }

    public PeoplePatrol setRemoveId(Integer removeId) {
        this.removeId = removeId;
        return this;
    }

    public String getPartrolExaim() {
        return partrolExaim;
    }

    public PeoplePatrol setPartrolExaim(String partrolExaim) {
        this.partrolExaim = partrolExaim;
        return this;
    }

    public List<String> getImage() {
        return image;
    }

    public PeoplePatrol setImage(List<String> image) {
        this.image = image;
        return this;
    }

    private static final long serialVersionUID = 1L;
}
